using System.Text;
using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class UlRecordConfiguration : EntityTypeConfiguration<UlRecord>
    {
        public UlRecordConfiguration()
        {
            Property(g => g.UlRecordID).IsRequired();
            Property(g => g.AdditionalContent).IsOptional();
            Property(g => g.Created).IsOptional();
         
            Property(g => g.Modified).IsOptional();
           
            Property(g => g.ActivityCode).IsOptional();
            Property(g => g.FromLocation).IsOptional();
            Property(g => g.Label).IsOptional();
            Property(g => g.Operator).IsOptional();
            Property(g => g.RecordType).IsOptional();
            Property(g => g.ToLocation).IsOptional();
            Property(g => g.UnitLoadType).IsOptional();
            Property(g => g.ClientID).IsOptional();
        }
    }
}